package xyz.syyrjx.blog.service;

import xyz.syyrjx.blog.entity.ai.AiModel;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author 大地崩坏苍蝇兽
 * @date 2024/2/4 12:44
 * @description ...
 * @since v0.0.1
 */
public interface AiService {

    String getAnswer(String model, String prompt, HttpServletRequest request, HttpServletResponse response);

    void setAiIdentityGrade(String id, int grade);

    List<AiModel> getAllAiModels();

}
